<div id="editGovFloorModel" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel"
  aria-hidden="true">
  <div class="modal-dialog modal-lg">
    <div class="modal-content">
      <div class="modal-body">
        <h3 class="m-t-none m-b ">修改建筑物管理</h3>
        <div class="ibox-content">
          <div>
            <div>
              <div class="form-group row">
                <label class="col-sm-2 col-form-label">所属小区</label>
                <div class="col-sm-6">
                  <select class="custom-select" v-model="editGovFloorInfo.govCommunityId">
                    <option selected disabled value="">必填，请选择所属小区</option>
                    <option v-for="(item,index) in editGovFloorInfo.govCommunitys" :value="item.govCommunityId">
                      {{item.communityName}}</option>
                  </select>
                </div>
              </div>

              <div class="form-group row">
                <label class="col-sm-2 col-form-label">建筑物编号</label>
                <div class="col-sm-4">
                  <input v-model="editGovFloorInfo.floorNum" type="text" placeholder="必填，请填写建筑物编号" class="form-control">
                </div>

                <label class="col-sm-2 col-form-label">建筑物名称</label>
                <div class="col-sm-4">
                  <input v-model="editGovFloorInfo.floorName" type="text" placeholder="必填，请填写建筑物名称"
                    class="form-control">
                </div>
              </div>

              <div class="form-group row">
                <label class="col-sm-2 col-form-label">建筑物类型</label>
                <div class="col-sm-4">
                  <select class="custom-select" v-model="editGovFloorInfo.floorType">
                    <option selected disabled value="">必填，请选择建筑物类型</option>
                    <option v-for="(item,index) in editGovFloorInfo.govBuildingTypes" :value="item.typeId">
                      {{item.typeName}}</option>
                  </select>
                </div>
                <label class="col-sm-2 col-form-label">楼栋面积</label>
                <div class="col-sm-4">
                  <input v-model="editGovFloorInfo.floorArea" type="text" placeholder="必填，请填写楼栋面积" class="form-control">
                </div>
              </div>

              <div class="form-group row">
                <label class="col-sm-2 col-form-label">楼层数</label>
                <div class="col-sm-4">
                  <input v-model="editGovFloorInfo.layerCount" type="text" placeholder="必填，请填写楼层数" class="form-control">
                </div>
                <label class="col-sm-2 col-form-label">单元数</label>
                <div class="col-sm-4">
                  <input v-model="editGovFloorInfo.unitCount" type="text" placeholder="必填，请填写单元数" class="form-control">
                </div>
              </div>

              <div class="form-group row">
                <label class="col-sm-2 col-form-label">建筑物用途</label>
                <div class="col-sm-4">
                  <input v-model="editGovFloorInfo.floorUse" type="text" placeholder="必填，请填写建筑物用途" class="form-control">
                </div>
                <label class="col-sm-2 col-form-label">责任人</label>
                <div class="col-sm-4">
                  <input v-model="editGovFloorInfo.personName" type="text" placeholder="必填，请填写责任人" class="form-control">
                </div>
              </div>

              <div class="form-group row">
                <label class="col-sm-2 col-form-label">联系电话</label>
                <div class="col-sm-4">
                  <input v-model="editGovFloorInfo.personLink" type="text" placeholder="必填，请填写联系电话"
                    class="form-control">
                </div>
              </div>

              <div class="form-group row">
                <label class="col-sm-2 col-form-label">建筑图片</label>
                <div class="col-sm-4">
                      <vc:create path="frame/uploadImage" callBackListener="editGovFloor"
                      callBackFunction="notifyUploadCoverImage" namespace="editGovFloorCover" imageCount="1"></vc:create>
                </div>
              </div>

              <div class="form-group row">
                <label class="col-sm-2 col-form-label">描述</label>
                <div class="col-sm-10">
                  <textarea placeholder="必填，请填写描述" class="form-control" v-model="editGovFloorInfo.ramark"></textarea>
                </div>
              </div>

              <div class="ibox-content">
                <button class="btn btn-primary float-right" type="button" v-on:click="editGovFloor()"><i
                    class="fa fa-check"></i>&nbsp;保存</button>
                <button type="button" class="btn btn-warning float-right" style="margin-right:20px;"
                  data-dismiss="modal">取消</button>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>